home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmigaPlus / Tools / Development / stunnel-4.04 / share / doc / stunnel / examples / stunnel.spec < prev   
Encoding:
Text File  |  2003-02-08  |  1.8 KB  |  74 lines

  1. Summary: Program that wraps normal socket connections with SSL/TLS
  2. Name: stunnel
  3. Version: 3.22
  4. Release: 1
  5. Copyright: GPL
  6. Group: Applications/Networking
  7. Source: stunnel-%{version}.tar.gz
  8. Requires: openssl >= 0.9.6g
  9. Buildroot: /var/tmp/stunnel-root
  10.  
  11. %description
  12. The stunnel program is designed to work as SSL encryption wrapper
  13. between remote clients and local (inetd-startable) or remote
  14. servers. The concept is that having non-SSL aware daemons running on
  15. your system you can easily set them up to communicate with clients over
  16. secure SSL channels.
  17. stunnel can be used to add SSL functionality to commonly used inetd
  18. daemons like POP-2, POP-3, and IMAP servers, to standalone daemons like
  19. NNTP, SMTP and HTTP, and in tunneling PPP over network sockets without
  20. changes to the source code.
  21.  
  22. %prep
  23. %setup -n stunnel-%{version}
  24.  
  25.  
  26. %build
  27. if [ ! -x ./configure ]; then
  28.     autoconf
  29.     autoheader
  30. fi
  31.  
  32. CFLAGS="${RPM_OPT_FLAGS}" ./configure
  33.  
  34. make
  35. make stunnel.html
  36.  
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. mkdir -p $RPM_BUILD_ROOT/usr/sbin
  40. mkdir -p $RPM_BUILD_ROOT/usr/lib
  41. mkdir -p $RPM_BUILD_ROOT/usr/man/man8
  42.  
  43. install -m755 -s stunnel $RPM_BUILD_ROOT/usr/sbin
  44. install -m755 -s stunnel.so $RPM_BUILD_ROOT/usr/lib
  45. install -m644 stunnel.8 $RPM_BUILD_ROOT/usr/man/man8
  46.  
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49.  
  50. %post
  51. ldconfig
  52.  
  53. %postun
  54. ldconfig
  55.  
  56. %files
  57. %defattr(-,root,root)
  58. %doc FAQ stunnel.html doc/english/transproxy.txt doc/english/VNC_StunnelHOWTO.html
  59. %doc ca.html ca.pl importCA.html importCA.sh stunnel.cnf
  60. /usr/sbin/stunnel
  61. /usr/lib/stunnel.so
  62. /usr/man/man8/stunnel.8.gz
  63.  
  64. %changelog
  65. * Sun Jun 24 2000 Brian Hatch <bri@stunnel.org>
  66. - updated for 3.8p3
  67.  
  68. * Wed Jul 14 1999 Dirk O. Siebnich <dok@vossnet.de>
  69. - updated for 3.5.
  70.  
  71. * Mon Jun 07 1999 Dirk O. Siebnich <dok@vossnet.de>
  72. - adapted from sslwrap RPM spec file
  73.  
  74.